/**
 * DeptDividedMapperExt
 * Copyright © 2015 - 2017
 * All rights reserved.
 * -----------------------------------
 * 2017-11-20  Created
 */
package com.lzy.product.dao;

import com.lzy.product.dtos.DeptDividedDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;

@Resource
public interface DeptDividedMapperExt extends DeptDividedMapper {
    /**
     * 根据部门编号查询部门分利设置
     *
     * @param id
     * @return
     */
    DeptDividedDto findByDeptId(@Param("id") Long id);

    /**
     * 根据部门编号修改部门分利设置
     *
     * @param dividedDto
     * @return
     */
    int updateByDeptId(@Param("param") DeptDividedDto dividedDto);

}